﻿#ifndef SPRITE_H
#define SPRITE_H

#include "sp_env.h"

#define sk_gre 0x0f00
#define sk_blu 0x0f01   //0x0f01=3841
#define sk_pik 0x0f02
#define sk_def 0x0f03

#define USERNAME "USERNAME"

class Sprite
{
public:
    void __detect();
    bool isInstalled();

    QString getUid() const;
    void putUid(const QString &uid);

    int getSkin() const;
    void putSkin(int skin);

    QString getUserName() const;
    void putUserName(const QString &name);
    QString getUserNameFromEnv() const;
};

#endif // SPRITE_H
